package com.etl.model.rev;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * Description: 业务系统与批次字典表
 *
 * @author fengxiaoyang
 * @date 2021年12月6日 上午9:25:16
 */
@Data
@ApiModel("业务系统与批次字典表-请求参数")
public class EtlBusinessBatchRev implements Serializable {

  	@ApiModelProperty(value = "批次" )
	@NotNull(message = "批次不能为空")
	private Integer batch;

  	@ApiModelProperty(value = "系统名称" )
	private String batchName;

  	@ApiModelProperty(value = "来源数据库id" )
	private Integer sourceDbId;

  	@ApiModelProperty(value = "来源数据库名称" )
	private String sourceDbSysname;


  	@ApiModelProperty(value = "目标数据库id" )
	private Integer targetDbId;

  	@ApiModelProperty(value = "目标数据库系统名称" )
	private String targetDbSysname;


  	@ApiModelProperty(value = "执行状态，0 等待 执行；1 运行中；" )
	private Integer execFlag;

  	@ApiModelProperty(value = "定时任务，是否启用数据提取；0禁用，1启用" )
	private Integer flag;

  	@ApiModelProperty(value = "定时任务值" )
	private String taskVal;

  	@ApiModelProperty(value = "定时任务类型 0:时1:分2:秒" )
	private Integer taskType;


}
